[LaTeX] Latex中 BiBTeX found no citation commands 解决办法

Posted by Aerber Zhou on 2018-07-21

包含bib文件的Tex编译顺序:首先执行LaTex, 然后 BibTex, 然后再执行LaTex, 最后执行dvi2pdf, 这样就可以生成新的PDF文件了。

但是在编译过程中经常遇到如下问题,在执行 BibTex 编译时出现如下错误:

This is BibTeX, Version 0.99d (MiKTeX 2.9) 
The top-level auxiliary file: ASMS.aux 
I found no \citation commands—while reading file ASMS.aux 
(There were 1 error messages)

如果 BibTex 编译成功时显示的信息如下:

Command Line: bibtex.exe “ASMS” 
Startup Folder: D:\CTEX_works\raa-ASMS 
This is BibTeX, Version 0.99d (MiKTeX 2.9) 
The top-level auxiliary file: ASMS.aux 
The style file: raa.bst 
Database file #1: bibtex.bib

发生以上错误的原因是:

  1. bib中的引用文献和tex中的引用不符,例如:tex中没有引用bib中的某一篇文献,或者索引标签不正确等。
  2. tex编译产生的临时文件较旧,需要删除所有的临时文件,重新从头到位编译

一般来说是第一种情况